﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Reviewer.Entities.Services
{
    /// <summary>
    /// Game video service interface
    /// </summary>
    [ServiceContract(Namespace = "Reviewer.Services")]
    public interface IGameVideoService : IDisposable
    {
        /// <summary>
        /// Finds items by the specified id.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <returns></returns>
        [OperationContract]
        GameVideo FindBy(int id);

        /// <summary>
        /// Finds all by the specified game id.
        /// </summary>
        /// <param name="gameId">The game id.</param>
        /// <returns></returns>
        [OperationContract]
        ICollection<GameVideo> FindAllBy(Guid gameId);
    }
}
